from django.urls import path
from student.auth import StudentTokenView
from student import views

app_name = "student"

urlpatterns = [
    path("login", StudentTokenView.as_view()),
    path("index/data", views.IndexApi.as_view()),
    path("person/list", views.PersonListApi.as_view()),
    path("person/search", views.PersonSearchApi.as_view()),
    path("person/add", views.PersonAddApi.as_view()),
    path("person/bind", views.PersonBindApi.as_view()),
    path("teacher/list", views.TeacherListApi.as_view()),
    path("invite/add", views.InviteAddApi.as_view()),
    path("invite/det", views.InviteDetApi.as_view()),
    path("invite/lst", views.InviteLstApi.as_view()),
    path("invite/del", views.InviteDelApi.as_view()),
    path("info/index", views.InfoIndexApi.as_view()),
]